using System.Threading.Tasks;
using JoyfulHomeJourney.BackEnd.Infrastructure.Atrributes;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses;
namespace JoyfulHomeJourney.BackEnd.Server.Interfaces
{
    [ProvideClassOrInterface]
    public interface ISysCarShopsServer
    {
        Task<ResponseApiDto> AddAsync(RequestSysCarShopsDto dto);
        Task<ResponseApiDto> UpdateAsync(RequestSysCarShopsDto dto);
        Task<ResponseApiDto> Detail(string id);
        Task<ResponseApiDto> PaginationAsync(int page, int limit, string key, string field, bool? order);
        Task<ResponseApiDto> GetCarShopByAccount(string aid);
        Task<ResponseApiDto> pc_sys_products(string uid);
        Task<ResponseApiDto> ToggleIsBan(string id);
        Task<ResponseApiDto> ToggleIsOpen(string id);
        Task<ResponseApiDto> Get_carshop(string uid);
        Task<ResponseApiDto> pc_sys_productsrm(string uid);
    }
}
